<template>
    <el-checkbox-group v-model="checkboxGroup1" size="small">
        <el-checkbox v-for="(check, index) in groupChoice" :key="index" :label="check.label" :value="check.value"
            border />
    </el-checkbox-group>
</template>

<script setup lang="ts">
import { ref } from 'vue'
const props = defineProps({
    groupChoice: Array<object>
})
const checkboxGroup1 = ref([props.groupChoice[0].value])
</script>

<style></style>